package com.bwie.service.imp;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.mapper.LinkageMapper;
import com.bwie.pojo.Linkage;
import com.bwie.service.LinkageService;
import com.bwie.unit.R;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 14867
* @description 针对表【linkage】的数据库操作Service实现
* @createDate 2024-08-24 09:31:07
*/
@Service
public class LinkageServiceImpl extends ServiceImpl<LinkageMapper, Linkage>
    implements LinkageService{

    @Resource
    private LinkageMapper linkageMapper;
//    @Override
//    public R getLinkageList(Integer id) {
//        LambdaQueryWrapper<Linkage> wrapper = new LambdaQueryWrapper<>();
//        wrapper.eq(Linkage::getDishesId,id);
//        List<Linkage> linkages = linkageMapper.selectList(wrapper);
//        return R.OK(linkages);
//    }

}




